Page({
    data: {},
    onLoad: function(o) {
        var t = this, a = getCurrentPages(), r = (a[a.length - 1], a[a.length - 2].data.list);
        console.log(r);
        for (var e in r) r[e].id == o.id && t.setData({
            info: r[e]
        });
        wx.setNavigationBarColor({
            frontColor: wx.getStorageSync("basic").topcolor,
            backgroundColor: wx.getStorageSync("basic").topbg
        });
    }
});